<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>登录</title>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <meta name="renderer" content="webkit">
    <link type="text/css" rel="stylesheet" href="<%=basePath%>resources/login/common.css">
    <link type="text/css" rel="stylesheet" href="<%=basePath%>resources/login/login.css?v=222">
<link rel="stylesheet" href="<%=basePath%>resources/login/layer.css" id="layui_layer_skinlayercss" style=""></head>
<body keybinderlisteneradded="true">
<!--头部 Start-->
<!--头部 Start-->
<div class="top-login" >
    <div class="login-logo"><%-- width="50" height="40"--%>
        <div class="logopic">
			<a href="#">
				<%--<img src="<%=basePath%>resources/login/bk.png" width="50" height="40">--%>
				<img src="<%=basePath%>resources/login/logo-login.png">
			</a>
		</div>
        <div class="goback">
                <a href="<%=basePath%>user/register.html" class="reginbtn">注册</a>
                <span>|</span>
                <a href="<%=basePath%>user/index.html" class="loginbtn">登录</a>
        </div>
    </div>
</div>
<!--头部 End-->
<!--正文内容 Start-->
<div class="login-main">
	<div class="login-win">
		<div class="lgnipt">
			<br><br><br><br>
			<form class="form form-horizontal"  action="<%=basePath%>user/login" method="post" id="formLogin">
			<%--<div class="lgntit"><img src="<%=basePath%>resources/login/lgntit.png"></div>
				<h3>账号登陆</h3>--%>
			<!-- <input id="namelist" type="hidden"><dd>18770913803</dd> -->
			<p style="font-size: 16px;color: #CC0000;margin-top: 10px;margin-left: 120px;">${msg}</p>
			<input class="usename" onpropertychange="wriRes(this.value,this);" placeholder="用户名/手机号码/邮箱" id="username" name="userName" value="${object.userName}" type="text">
			<input class="usepwd" onpropertychange="wriRes(this.value,this);" placeholder="密码" id="password" name="password" type="password">
			<p class="errmsg">密码错误</p>
			<div class="lgnbtn"><a href="javascript:document.formLogin.submit();" id="" onclick="$('#formLogin').submit()">登录</a></div>
			<h4 class="lgntip"><!-- <span><input id="checkpass" class="jzmm" checked="checked" type="checkbox">记住密码</span> --><em>
				<a href="<%=basePath%>user/forgetPassword.html">忘记密码</a></em></h4>
			</form>
		</div>
		<%--<div class="login01"></div>
		<div class="login01"></div>
		<div class="login01"></div>--%>
	</div>
</div>
<input id="checkvalue" type="hidden">
<!--正文内容 End-->
<!--底部 Start-->
<div class="footer login-footer w1190">
	<p class="w1190" style="line-height: 60px;">Copyright©2017 火狸梗 by blue v1.0</p>
</div>
<!--底部End-->
<script type="text/javascript" src="<%=basePath%>resources/login/jquery-1.js"></script>
<script type="text/javascript" src="<%=basePath%>resources/login/dlm_002.js"></script>
<script type="text/javascript" src="<%=basePath%>resources/login/popup.js"></script>
<script type="text/javascript" src="<%=basePath%>resources/login/dlm.js"></script>
<script type="text/javascript" src="<%=basePath%>resources/login/cookie_002.js"></script>
<script type="text/javascript" src="<%=basePath%>resources/login/login.js"></script>
<script type="text/javascript" src="<%=basePath%>resources/login/dlmm.js"></script>
<script type="text/javascript" src="<%=basePath%>resources/login/cookie.js"></script>
<script type="text/javascript">
$(function(){
	$(".lgntip").find("span").click(function(){
		if(!$(this).hasClass("on")){
			$(this).find("input").attr("checked","checked");
			$(this).addClass("on");
		}else{
			$(this).find("input").removeAttr("checked");
			$(this).removeClass("on");
		}
	});
	$("input").focus(function(){
		$(this).removeClass("erro");
		$(".errmsg").css("visibility","hidden");
	});
	$(".pop").on("click",".pop-header img",function(){
		layer.closeAll();
	})
});
</script>
</body>
</html>